[INFO] cloning repository https://github.com/trial-pyth/rust-typescript
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trial-pyth/rust-typescript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrial-pyth%2Frust-typescript", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrial-pyth%2Frust-typescript'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b204e129f49bb371e08caeadb76764d6420b0c28
[INFO] fixing trial-pyth/rust-typescript against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrial-pyth%2Frust-typescript" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/trial-pyth/rust-typescript
[INFO] finished tweaking git repo https://github.com/trial-pyth/rust-typescript
[INFO] tweaked toml for git repo https://github.com/trial-pyth/rust-typescript written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/trial-pyth/rust-typescript on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/trial-pyth/rust-typescript already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8
[INFO] running `Command { std: "docker" "start" "1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-typescript v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `PointIter` in this scope
[INFO] [stdout]    --> src/main.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |         fn points(&self) -> PointIter {
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::shapes::PointIter` exists but is inaccessible
[INFO] [stdout]    --> src/shapes.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct PointIter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `PointIter` in this scope
[INFO] [stdout]    --> src/main.rs:212:29
[INFO] [stdout]     |
[INFO] [stdout] 212 |         fn points(&self) -> PointIter {
[INFO] [stdout]     |                             ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] note: struct `crate::shapes::PointIter` exists but is inaccessible
[INFO] [stdout]    --> src/shapes.rs:171:1
[INFO] [stdout]     |
[INFO] [stdout] 171 | struct PointIter {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout]   6 | fn main() {
[INFO] [stdout]     | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 229 |     let shapes = std::fs::read_to_string("shapes")?.lines()
[INFO] [stdout]     |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]   6 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   7 |     // iterators
[INFO] [stdout] ...
[INFO] [stdout] 238 |
[INFO] [stdout] 239 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/main.rs:229:51
[INFO] [stdout]     |
[INFO] [stdout]   6 | fn main() {
[INFO] [stdout]     | --------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 229 |     let shapes = std::fs::read_to_string("shapes")?.lines()
[INFO] [stdout]     |                                                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout]   6 ~ fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   7 |     // iterators
[INFO] [stdout] ...
[INFO] [stdout] 238 |
[INFO] [stdout] 239 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collec` found for struct `Filter<I, P>` in the current scope
[INFO] [stdout]    --> src/main.rs:237:6
[INFO] [stdout]     |
[INFO] [stdout] 233 |       let collisions = shapes.iter()
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 234 | |     .skip(1)
[INFO] [stdout] 235 | |     .zip(shapes.iter().take(shapes.len()-1))
[INFO] [stdout] 236 | |     .filter(|(a,b)| a.collide(b))
[INFO] [stdout] 237 | |     .collec::<Vec<_>>();
[INFO] [stdout]     | |_____-^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_typescript-7e9c271e4647eb13.long-type-18429486874769586227.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: there is a method `collect` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 237 |     .collect::<Vec<_>>();
[INFO] [stdout]     |            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `collec` found for struct `Filter<I, P>` in the current scope
[INFO] [stdout]    --> src/main.rs:237:6
[INFO] [stdout]     |
[INFO] [stdout] 233 |       let collisions = shapes.iter()
[INFO] [stdout]     |  ______________________-
[INFO] [stdout] 234 | |     .skip(1)
[INFO] [stdout] 235 | |     .zip(shapes.iter().take(shapes.len()-1))
[INFO] [stdout] 236 | |     .filter(|(a,b)| a.collide(b))
[INFO] [stdout] 237 | |     .collec::<Vec<_>>();
[INFO] [stdout]     | |_____-^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/rust_typescript-b45b9e3043c73334.long-type-7436356218931567015.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] help: there is a method `collect` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 237 |     .collect::<Vec<_>>();
[INFO] [stdout]     |            +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-typescript` (bin "rust-typescript") due to 3 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-typescript` (bin "rust-typescript" test) due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8", kill_on_drop: false }`
[INFO] [stdout] 1d9f6da807c52c29887c200cb495353a0b8a4102dcfaffae68e16f6c695006f8
